import req1 from '@/lib/req1'
//获取日报列表
export function staListAPI(){
    return req1.get('/dept/deptList')
}
//新增日报
export function addStaInsertAPI({deptName,lastDept,sortNo }){
return req1.post('/dept/deptAdd',{deptName,lastDept,sortNo})
}
//修改
export function staUpdateAPI({id,deptName,lastDept,sortNo}){
  return req1.put('/dept/deptUpdate',{id,deptName,lastDept,sortNo})
}
//删除
export function staDeleteAPI(id){
    return req1.delete('/dept/deptDelete',{id})
}
//部门
export function depListAPI(){
    return req1.get('/archives/deptList')
}
